import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

import { SpyParentComponent } from './onInit.component';
import { SpyDirective } from './onInit.directive';
import { OnInitTestComponent } from './onInit.test.component';

@NgModule({
    imports: [
        CommonModule,
        FormsModule
    ],
    declarations: [
        SpyDirective,
        SpyParentComponent,
        OnInitTestComponent
    ],
    exports: [
        SpyDirective,
        SpyParentComponent,
        OnInitTestComponent,

        CommonModule,
        FormsModule
    ]
})
export class OnInitModule { }
